package com.example.bingwallpaper

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import android.view.Window
import android.view.WindowManager

class BingWallpaperApplication : Application() {

    // 静态
    companion object {
        @SuppressLint("StaticFieldLeak")
        lateinit var context: Context
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext

    }

}